import {OffsetDateTime} from "java.time.OffsetDateTime";
@document({name: "类型转换"})
@dslClass({ language: "java", code: "com.inspur.edp.rule.dsl.core.function.ConvertUtils" })
export class ConvertUtils {

      @document({ name: "转字符串"})
      public static convertToString(@document({name:"对象"})  a : any ) : string ;

      @document({ name: "转日期"})
      public static convertToDateTime(@document({name:"字符串"})  dateTimeString : string) : OffsetDateTime ;

      @document({ name: "转小数"})
      public static convertToDouble( @document({name:"字符串"}) str : string ) : double ;

	  @document({ name: "转整数"})
      public static convertToInt( @document({name:"字符串"}) str : string ) : int ;

      @document({ name: "转人民币中文"})
      public static convertToCHNMoney(  @document({name:"字符串"}) money : any ) : string ;

 }